package njust.tables.book;

import java.util.Date;

/**
 * InfoBook entity. @author MyEclipse Persistence Tools
 */

public class InfoBook implements java.io.Serializable {

	// Fields

	private Integer BId;
	private String bookId;
	private String bookName;
	private Date PDate;
	private String PDep;
	private String publisher;
	private Date pubDate;

	// Constructors

	/** default constructor */
	public InfoBook() {
	}

	/** full constructor */
	public InfoBook(String bookId, String bookName, Date PDate, String PDep,
			String publisher, Date pubDate) {
		this.bookId = bookId;
		this.bookName = bookName;
		this.PDate = PDate;
		this.PDep = PDep;
		this.publisher = publisher;
		this.pubDate = pubDate;
	}

	// Property accessors

	public Integer getBId() {
		return this.BId;
	}

	public void setBId(Integer BId) {
		this.BId = BId;
	}

	public String getBookId() {
		return this.bookId;
	}

	public void setBookId(String bookId) {
		this.bookId = bookId;
	}

	public String getBookName() {
		return this.bookName;
	}

	public void setBookName(String bookName) {
		this.bookName = bookName;
	}

	public Date getPDate() {
		return this.PDate;
	}

	public void setPDate(Date PDate) {
		this.PDate = PDate;
	}

	public String getPDep() {
		return this.PDep;
	}

	public void setPDep(String PDep) {
		this.PDep = PDep;
	}

	public String getPublisher() {
		return this.publisher;
	}

	public void setPublisher(String publisher) {
		this.publisher = publisher;
	}

	public Date getPubDate() {
		return this.pubDate;
	}

	public void setPubDate(Date pubDate) {
		this.pubDate = pubDate;
	}

}